import {isObject} from "@/lib/types";
import Vue from "vue";

export default {
    state: () => ({
        museumName: "",
        currentPage: 0,
        urbanAreaName: undefined,
        urbancityId: undefined,
        museumsSelectedDate: undefined,
        museumsSelectedDateDay: undefined,
    }),
    getters: {},
    mutations: {
        SET_MuseumName: (state, museumName) => {
            console.log(museumName, "museumName");
            state.museumName = museumName;
        },
        SET_CurrentPage: (state, currentPage) => {
            state.currentPage = currentPage;
        },
        SET_UrbanAreaName: (state, urbanAreaName) => {
            state.urbanAreaName = urbanAreaName;
        },
        SET_UrbanCityId: (state, urbancityId) => {
            state.urbancityId = urbancityId;
        },
        SET_MuseumsSelectedDate: (state, museumsSelectedDate) => {
            state.museumsSelectedDate = museumsSelectedDate;
        },
        SET_MuseumsSelectedDateDay: (state, museumsSelectedDateDay) => {
            state.museumsSelectedDateDay = museumsSelectedDateDay;
        },
    },
    actions: {},
}
